package com.bupt.smart.network.api;

import com.bupt.smart.model.Delivery;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by ght on 2016/6/16.
 */
public interface DeliveryAPI {
    @GET("users/{id}/deliverys")
    Call<List<Delivery>> getDeliveryHistory(@Path("id") int userID, @Query("phone") String phone,
                                            @Query("status") int status, @Query("page") int page,
                                            @Query("pagesize") int size);
}

